**# Bookmark #1 Setting

*Windows
global root  = "G:/Dropbox/Environmental Injustice/Empirical"
global rawdata = "$root/rawdata"
global workdata = "$root/workdata"
global results = "$root/results"
global outfile = "$root/outfile"

cd "$workdata"


**# Bookmark #2 Regression

use "$outfile/Table S23.dta",clear

replace city_target=-city_target

reghdfe diff_ratio belowhs city_target,noabsorb cluster(i.province)
outreg2 using "$results/Table S23.xls",replace ctitle(Change in Tap Water Coverage) bdec(3) tdec(3) rdec(3)

reghdfe diff_ratio belowcl city_target,noabsorb cluster(i.province)
outreg2 using "$results/Table S23.xls",append ctitle(Change in Tap Water Coverage) bdec(3) tdec(3) rdec(3)

reghdfe diff_ratio rural city_target,noabsorb cluster(i.province)
outreg2 using "$results/Table S23.xls",append ctitle(Change in Tap Water Coverage) bdec(3) tdec(3) rdec(3)

reghdfe diff_ratio occupation city_target,noabsorb cluster(i.province)
outreg2 using "$results/Table S23.xls",append ctitle(Change in Tap Water Coverage) bdec(3) tdec(3) rdec(3)
	
